Skip to content

Conversation

@NatSquared
Copy link
Collaborator

Also add OIDC configuration endpoint and environment variable handling

Issue #: 🎟️ DESENG-811

  • Feature Add Helm chart and templates for MET Web
    • Created a helm chart for the MET Web deployment.
    • Migrated existing resources to Helm templates.
    • Removed several unused ConfigMap values
    • Removed JWT/OIDC related values in favor of requesting the data from the MET API (single source of truth).
      • Created an endpoint at /api/oidc_config to return the OIDC configuration for the MET API.
    • Modified the Docker entrypoint to generate a config script from REACTAPP environment variables at startup.
      • The config script is then served alongside the app at runtime.
  • Bugfix Updated existing templates to set minReplicas and maxReplicas for the HPA (matching met-web) rather than trying to configure it on the Deployment, which has no effect.

User Guide update ticket (if applicable): N/A

@NatSquared NatSquared changed the title Deseng 811/met web helm chart DESENG-811: Implement Helm chart for MET Web May 8, 2025
@NatSquared NatSquared marked this pull request as ready for review May 8, 2025 22:28
@NatSquared NatSquared requested review from Baelx and jareth-whitney May 8, 2025 22:28
@NatSquared NatSquared force-pushed the DESENG-811/met-web-helm-chart branch from 3f973d9 to 16b33f2 Compare May 8, 2025 22:53
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 8, 2025

Copy link
Contributor

@Baelx Baelx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So many great, helpful comments in this! Thanks for adding those endpoints to get around React's env var quirks.

@NatSquared NatSquared merged commit 0474bd3 into DESENG-811-use-helm-charts May 12, 2025
2 checks passed
@NatSquared NatSquared deleted the DESENG-811/met-web-helm-chart branch May 12, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants